package com.zjl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zjl.common.R;
import com.zjl.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {

    //添加购物车
    ShoppingCart add(ShoppingCart shoppingCart);

    //减少购物车商品数量
    ShoppingCart sub(ShoppingCart shoppingCart);

}
